import React from 'react';
import ReactDOM from "react-dom/client";
import App from './App';

import "antd/dist/antd.min.css";
import zhCN from "antd/es/locale/zh_CN"; // 中文语言包
import { ConfigProvider } from "antd";
import "./css/App.css";

import { BrowserRouter } from "react-router-dom";

import store from "./redux/store";   // 仓库
import { Provider } from "react-redux";  // redux

import "./index.css"

const root = ReactDOM.createRoot(document.getElementById('root'));
root.render(
  <Provider store={store}>
    <BrowserRouter>
      <ConfigProvider locale={zhCN}>
        <App />
      </ConfigProvider>
    </BrowserRouter>
  </Provider>
);
